﻿<UserControl x:Class="TechNewLogic.GraphIT.Hv.Vertical.DynamicRulerLabel"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d"
		d:DesignHeight="300" d:DesignWidth="300" x:Name="root" x:ClassModifier="internal">

	<Grid>
		<!--<Path Data="M0,0 0,1 1,0.5 0,0" Fill="{DynamicResource GeneralForeground}" Width="11"
				Height="11" DockPanel.Dock="Right" VerticalAlignment="Center" Stretch="Uniform"
				Margin="-1,0,0,0" />-->
		<Rectangle Height="1" VerticalAlignment="Center" Opacity="0.5"
				Fill="{DynamicResource GeneralForeground}" />
		<Border BorderBrush="{DynamicResource GeneralForeground}" BorderThickness="1"
				Background="{DynamicResource GeneralBackground}"
				DataContext="{Binding ElementName=root}" HorizontalAlignment="Right"
				Margin="0,0,4,0">
			<TextBlock Text="{Binding CurrentValue}" Margin="5,1"
					Foreground="{DynamicResource GeneralForeground}" />
		</Border>
	</Grid>

</UserControl>
